<%
    int creado = request.getAttribute("creado") == null ? -1 : Integer.parseInt(request.getAttribute("creado").toString());

%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
         pageEncoding="ISO-8859-1"%>
<html >
    <head>

        <script type="text/javascript" src="js/tabber.js"></script>
        <link rel="stylesheet" href="css/example.css" TYPE="text/css" MEDIA="screen"/>
        <link rel="stylesheet" href="css/example-print.css" TYPE="text/css" MEDIA="print"/>
        <link rel="stylesheet" href="css/MenuPrincipal.css" TYPE="text/css" MEDIA="screen"/>
        <script type="text/javascript" src="js/general.js"></script>
        <script type="text/javascript" src="js/jquery-1.5.2.min.js"></script>
        <script type="text/javascript" src="js/Funciones.js"></script>
        <script type='text/javascript' src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"/>
        <script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
        <script type="text/javascript" src="js/jquery.fixedMenu.js"></script>
        <script type="text/jav ascript" src="js/general.js"></script>
        <link rel="stylesheet" type="text/css" href="css/fixedMenu_style2.css" />
        <link rel="stylesheet" href="css/style.css" />
        <link rel="stylesheet" href="css/estilos.css" />

        <link rel="stylesheet" type="text/css" href="css/styleMenu.css" />

       
        <script language="javaScript" type="text/javascript">

            function inicio() {
                window.location.href = "./ContenidoShow";
            }
        </script>

    </head>

    <body>

        <div style="text-align: right;">

            <a href="./CerrarSesion" onclick="cerrarSession();" style="text-decoration:none; color: #f7db64;"/>Cerrar Sesion</a>
    </div>

  

    <div style="background: #362f2d">  

    </div>


    <div align="center" style="padding-top:30px ">  
         <%@include file="./Menu2.jsp" %>
        <FONT FACE="arial" size="6" COLOR="#282321" style="text-align: center">Ingresar Plan</FONT>


        <form action="./MaquinaIn" method="POST">

            <%                                   if (creado == 5) {
            %>
            <div style="text-align: center">

                <span style="color:#f6bd30;text-align: center">Los parametros con * son obligatorios</span>

            </div>
            <% }%>

            <%
                if (creado == 0) {
            %>
            <div style="text-align: center">

                <span style="color:#f6bd30;text-align: center">Error al guardar el nuevo Cliente</span>

            </div>
            <% }%>

            <%
                if (creado == 1) {
            %>
            <div style="text-align: center">

                <span style="color:#f6bd30;text-align: center">Cliente ingresado con exito</span>

            </div>
            <% }%>

            <div align="center" style="padding-top:30px ">

                <div class="tabla" >
                    <div class="fila">

                        <div class="celda">
                            Nombre del Plan:
                        </div>  
                        <div class="celda">
                            <input id="nombre" name="nombre" type="text">
                        </div> 

                        <div class="celda">
                            Valor:
                        </div>  
                        <div class="celda">
                             <input id="valor" name="valor" type="text">
                        </div>

                        <div class="celda">
                            Dias que cubre:
                        </div>  
                        <div class="celda">
                            <td><input id="dias" name="dias" type="text"></td>	
                        </div>
                 

                    </div>


                    <div align="center" style="margin-top: 30px">
                        <input type="submit" value="Guardar" width="30" height="30" class="button white">			
                    </div>

                    </form>

                    </body>

                    </html>
